
import React from 'react'
import { Router, Route, IndexRoute } from 'react-router'
import { BrowserRouter,Link } from 'react-router-dom'
import { renderRoutes } from 'react-router-config';

import home from "../page/home";
import  Login  from "../page/login";




// class Login extends React.Component{
//     render(){
//     return (
//     <div>
  
//         <input/>
//         <input/>
//     <Link to='./home'>Login</Link></div>)
//     }
// }

const menuData = [
    {
        path: '/home',
        title: '首页',
        component: home,
    },{
        path: '/',
        title: 'login',
        component: Login,
    }
]
export { menuData }